package cn.kgc.ffzw.day18.homework;
/**
 * 吃货联盟程序接口
 *
 */
public abstract class Menu {

    private int choice;
    OrderList orderList;


    public Menu(OrderList orderList){
        this.orderList = orderList;
        System.out.println("欢迎使用吃货联盟订餐系统");
        System.out.println("*****************************");
    }

    public abstract void showmenu();

    public void check(){
        orderList.check();
    }

    public void order(){
        orderList.order();
    }

    public void deletorder(){
        orderList.deletorder();
    }

    public void signorder(){
        orderList.signorder();
    }

    public void like(){ orderList.like(); }

    public int getChoice() {
        return choice;
    }

    public void setChoice(int choice) {
        this.choice = choice;
    }
}








